Stat
@Serializable
Stats determine certain aspects of battles. Each Pokémon has a value for each stat which grows as they gain levels and can be altered momentarily by effects in battles. See: https://pokeapi.co/docs/v2#stats
Parameters
id
The identifier for this stat resource.
name
The name for this stat resource.
game Index
ID the games use for this stat.
is Battle Only
Whether this stat only exists within a battle.
affecting Moves
A detail of moves which affect this stat and how they affect it.
affecting Natures
A detail of natures which affect this stat and how they affect it.
characteristics
A list of characteristics that are set on a Pokémon when its highest base stat is this stat.
move Damage Class
The class of damage this stat is directly related to.
names
The name of this stat listed in different languages.
Constructors
Link copied to clipboard
constructor(id: Int, name: String, gameIndex: Int, isBattleOnly: Boolean, affectingMoves: MoveStatAffectSets, affectingNatures: NatureStatAffectSets, characteristics: List<Handle.Unnamed<Characteristic>>, moveDamageClass: Handle.Named<MoveDamageClass>?, names: List<Name>)